package jp.sinmetal.trainer.action;

import org.seasar.struts.annotation.Execute;

/**
 * エラーアクション
 * @author sin
 *
 */
public class PokemonErrorAction extends AbstractAction {
	/**
	 * 汎用エラー
	 * @author sin
	 *
	 * @return
	 */
	@Execute(validator = false)
    public String index() {
        return "global.jsp";
    }

	/**
	 * 404Error
	 * @author sin
	 *
	 * @return
	 */
	@Execute(validator = false)
    public String pageNotFound() {
        return "pageNotFound.jsp";
    }

	/**
	 * test
	 * @author sin
	 *
	 * @return
	 */
	@Execute(validator = false)
    public String test() {
        throw new RuntimeException();
    }
}
